div.row
  div.col-md-6.col-md-offset-3
    = form_for(@obj) do |f|
      = f.label :title
      = f.text_field :title
      .field
        = f.label :content
        = f.text_area :content, placeholder: "Compose new blog..."
      = f.submit @obj.new_record? ? "Create" : 'Save changes', class: "btn btn-primary"